package isoengine.config {

	// Settings for graphic quality, perfomance, editing mode, error checking

	public class Settings {

		private var drawBorders:Boolean;
		private var drawExtras:Boolean;
		private var editMode:Boolean;
		private var eventMonitoring:Boolean;
		private var errorCheck:Boolean;

		private static var _instance:Settings = null;

		public static function instance():Settings {
			if (Settings._instance == null) {
				Settings._instance = new Settings();
			}
			return Settings._instance;
		}

		public function Settings() {
		}

		public function getDrawBorders():Boolean {
			return (drawBorders);
		}

		public function getDrawExtras():Boolean {
			return (drawExtras);
		}

		public function getEditMode():Boolean {
			return (editMode);
		}

		public function setEditMode(editMode:Boolean):void {
			this.editMode = editMode;
		}

		public function setErrorCheck(errorCheck:Boolean):void {
			this.errorCheck = errorCheck;
		}

		public function getErrorCheck():Boolean {
			return (errorCheck);
		}

		public function setDrawBorders(drawBorders:Boolean):void {
			this.drawBorders = drawBorders;
		}

		public function setDrawExtras(drawExtras:Boolean):void {
			this.drawExtras = drawExtras;
		}

		public function setEventMonitoring(eventMonitoring:Boolean):void {
			eventMonitoring = eventMonitoring;
		}

		public function getEventMonitoring():Boolean {
			return (eventMonitoring);
		}
	}

}